.textTooLong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.logs {
  position: absolute;
  top: 0;
  z-index: 99;
  width: 100%;
  height: 100%;

  &::-webkit-scrollbar {
    display: none;
    width: 0;
  }
}

.detaillog {
  .adm-tabs {
    height: 100%;
  }

  .adm-tabs-content {
    height: 100%;
    padding: 0;
    overflow: auto;
  }
}

.commonLog {
  background-color: #fff;

  .triangle {
    display: inline-block;
    border-top: 7px solid #e3e3e3;
    border-right: 7px solid transparent;
    border-bottom: none;
    border-left: 7px solid transparent;
  }

  .titles {
    margin-bottom: 15px;
    padding-left: 10px;
    color: var(--inbiz-color-heading);
    font-size: 16px;

    span {
      display: inline-block;
      margin-right: 40px;
      padding: 10px 0;
    }
  }

  .activeTitle {
    color: var(--inbiz-color-primary);
    border-bottom: 2px solid var(--inbiz-color-primary);
  }


  .adm-collapse,
  .adm-list {
    height: 100%;
    overflow: auto;
  }

  .adm-list-body {
    height: 100%;
    overflow: auto;

    .adm-list-body-inner {
      height: 100%;
    }
  }

  .adm-list-item-content {
    border: none;
  }

  // .adm-collapse-panel-content {
  //   height: 90% !important;
  //   overflow: auto;
  // }
  .adm-list-body-inner {
    a:hover {
      color: #000;
    }
  }

  .adm-collapse-arrow {
    transform: rotate(-90deg);
  }

  .adm-collapse-arrow-active {
    transform: rotate(0deg);
  }
}

.processLog {
  // position: absolute;
  top: 45px;
  bottom: 50px;
  z-index: 99;
  width: 100%;
  overflow: auto;
  background-color: #fff;

  .logContainer {
    position: relative;
    color: #333;
    background-color: #fff;

    &:nth-child(1) {
      margin-top: 10px;
    }

    .logHeader {
      display: flex;
      align-items: center;
      height: 40px;
      font-size: 16px;
      line-height: 40px;

      span {
        margin-right: 5px;
      }

      .dot {
        display: inline-block;
        width: 2px;
        height: 2px;
        margin-right: 1px;
        vertical-align: middle;
      }

      .userTask {
        max-width: 250px;
        color: var(--inbiz-color-heading);
        font-weight: normal;
        font-size: 14px;
        font-stretch: normal;
        line-height: 16px;
        letter-spacing: 0;
      }

      .step {
        width: 52px;
        font-weight: bold;
        font-size: 12px;
        line-height: 16px;
        letter-spacing: 0;
      }
    }
  }

  .logBody {
    margin-left: 11px;
    border-left: 1px solid #d9d9d9;

    .cardHeader {
      display: flex;
      justify-content: space-between;
      height: 32px;
      margin-bottom: 10px;
      line-height: 32px;

      h4 {
        height: 32px;
        line-height: 32px;
      }

      p {
        color: var(--inbiz-color-secondary-text);
        font-size: 12px;
      }

      .userName {
        width: 65px;
        color: var(--inbiz-color-heading);
        font-size: 14px;
        .textTooLong();
      }
    }

    .cardBody {
      margin-top: 10px;
      margin-left: 70px;

      h5 {
        color: var(--inbiz-color-text);
        font-weight: bold;
        font-size: 12px;
      }
    }

    .commentText {
      width: 260px;
      color: var(--inbiz-color-text);
      font-size: 12px;
      word-wrap: break-word;
    }
  }

  .adm-list {
    --padding-left: 20px;
    --padding-right: 20px;

    .adm-collapse-panel-content .adm-list-item-content-main {
      padding: 0;
    }
  }

  .adm-list-item-content {
    padding-top: 0;
    padding-bottom: 0;

    .adm-list-item-content-arrow {
      margin: 0 !important;
    }
  }

  .adm-plain-anchor .adm-list-item-content-main {
    flex: 1;
    // width: 142px !important;
    padding: 0 !important;
  }

  // .adm-list-body-inner {
  //   padding: 0 10px;
  // }

  .adm-list-default .adm-list-body,
  .adm-list-item-content {
    border: none;
  }

  a.adm-list-item:active::after {
    border: none;
  }
}

.logimage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100% - 63px);
  padding: 0 20px;
}